from django.contrib import admin
from import_export.admin import ImportExportModelAdmin
from .resource import UserProfileResource
from .models import UserProfile

# Register your models here.

# admin.site.register(UserProfile)
@admin.register(UserProfile)
class UserProfileAdmin(ImportExportModelAdmin):

    resource_class = UserProfileResource
    list_display = ('id', 'username', 'password', 'ticket', 'is_read', 'read_time')
